test: test.cpp ../../mqcommon/mqProto.pb.cc ../../mqcommon/mqlink.pb.cc
	g++ -std=c++11 $^ -o $@ -lprotobuf -lsqlite3 -lgtest -I../../mqthird/include

.PHONY:clean
clean:
	rm -f test *.db 